from django.conf.urls import url
from . import views

urlpatterns = [
    url(r'^register/$', views.RegisterView.as_view()),

    # 类视图使用装饰器
    url(r'^demo/$', views.DemoView.as_view()),

    # 模板
    url(r'index/$', views.index),
]